package com.laihui.activity;

import android.app.Activity;

import com.laihui.base.BaseActivity;
import com.laihui.fragment.BorrowListFragment;
import com.laihui.view.TopBar;

import butterknife.BindView;

/**
 * Created by chensk on 2018/3/21.
 */
public class QualityFinancingActivity extends BaseActivity {


    @BindView(R.id.topbar)
    TopBar topbar;

    @Override
    public void init() {
        topbar.setTitle("精品理财");
        topbar.setOnTopbarClickListener(new TopBar.topbarClickListener() {
            @Override
            public void leftClick() {
                finish();
            }

            @Override
            public void rightClick() {

            }
        });
        getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container2, new BorrowListFragment(null)).commit();
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_quality_financing;
    }

    @Override
    public Activity bindActivity() {
        return this;
    }
}